package com.jason.javabase.entity;

/**
 * @description:
 * @author: jason.jia
 * @create: 2019-01-24 14:29
 **/
public abstract class Animal{

    private int size;

    private String name;

    public String getName(){
        return name;
    }

    public Animal(String theName){
        System.out.println("animal`s Constroctor" + "=====有参构造函数");
        name = theName;
    }
    public Animal(){
        System.out.println("animal`s Constroctor" + "=====无参构造函数");
    }
}
